-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Clarify rolling min_periods default value GH21489 #23021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello @mattboggess! Thanks for submitting the PR.
|
Codecov Report
@@ Coverage Diff @@
## master #23021 +/- ##
=======================================
Coverage 92.19% 92.19%
=======================================
Files 169 169
Lines 50835 50835
=======================================
Hits 46868 46868
Misses 3967 3967
Continue to review full report at Codecov.
|
pandas/core/window.py
Outdated
@@ -462,7 +462,8 @@ class Window(_Window): | |||
min_periods : int, default None | |||
Minimum number of observations in window required to have a value | |||
(otherwise result is NA). For a window that is specified by an offset, | |||
this will default to 1. | |||
this will default to 1. Otherwise, this will default to the size of the | |||
window. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: the pronoun "this" is grammatically vague here. Can we replace "this" with "min_periods" (surrounded with backticks)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's better. This has been replaced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
this is fine. thank you. |
git diff upstream/master -u -- "*.py" | flake8 --diff